<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {
    let self = this;
    this.$cloud.callback('logout', function () {
      self.$router.replace({ name: 'login' });
      location.reload();
    });
  },
  methods: {}
};

</script>
